<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" xmlns:th="http://www.thymeleaf.org">
    <title>模板</title>
</head>
<body>
<table border="1">
    <thead>
    <tr>
        <th>姓名</th>
        <th>模板</th>
        <th>年龄</th>
    </tr>
    </thead>

    <tbody>
    <tr th:each="draft:${drafts}">
        <td th:text="${draft.name}"></td>
        <td th:text="${draft.template}"></td>
        <td th:text="${draft.age}"></td>
    </tr>
    </tbody>
</table>

</body>
</html>